package com.cbg.archives.dto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 个人档案模块DTO
 *
 * @author wangjuzheng
 * @date 2019-10-18
 **/
@Data
public class ArchivesModularDTO implements Serializable {

    /**
     * 模块Id
     */
    @ApiModelProperty(value = "模块Id")
    private Long id;

    /**
     * 档案分类ID
     */
    @ApiModelProperty(value = "档案分类ID")
    private Long archivesId;

    /**
     * 表ID
     */
    @ApiModelProperty(value = "表ID")
    private Long tableId;

    /**
     * 显示样式
     */
    @ApiModelProperty(value = "显示样式")
    private String displayStyle;

    /**
     * 是否二级搜索
     */
    @ApiModelProperty(value = "是否二级搜索")
    private Integer isSecondarySearch;

    /**
     * 是否调整显示列
     */
    @ApiModelProperty(value = "是否调整显示列")
    private Integer isDisplayColumn;

    /**
     * 是否分页
     */
    @ApiModelProperty(value = "是否分页")
    private Integer isPage;

    /**
     * 每页条数
     */
    @ApiModelProperty(value = "每页条数")
    private Long pageNumber;

    /**
     * 模块名称
     */
    @ApiModelProperty(value = "模块名称")
    private String name;

    public ArchivesModularDTO() {
    }

    public ArchivesModularDTO(Long id, Long archivesId, Long tableId, String displayStyle, Integer isSecondarySearch, Integer isDisplayColumn, Integer isPage, Long pageNumber, String name) {
        this.id = id;
        this.archivesId = archivesId;
        this.tableId = tableId;
        this.displayStyle = displayStyle;
        this.isSecondarySearch = isSecondarySearch;
        this.isDisplayColumn = isDisplayColumn;
        this.isPage = isPage;
        this.pageNumber = pageNumber;
        this.name = name;
    }
}
